/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package DataModel;

import DataModel.Country;

/**
 *
 * @author Carlos
 */
public class User extends Person
{

    // <editor-fold defaultstate="collapsed" desc="Attributes">
    public enum UserType
    {
        AMD,
        ProjectUser
    }
    private String _userName;
    private UserType _type;
    // </editor-fold>

    // <editor-fold defaultstate="collapsed" desc="Constructor">
    public User(int _id, String _name, String _firstLastName, String _secondLastName, String _email, Country _country, String[] phones, String _userName, UserType _type) {
        super(_id, _name, _firstLastName, _secondLastName, _email, _country, phones);
        this._userName = _userName;
        this._type = _type;
    }
    // </editor-fold>

    // <editor-fold defaultstate="collapsed" desc="Properties">
    public UserType getType() {
        return _type;
    }

    public String getUserName() {
        return _userName;
    }
    // </editor-fold>
    
}
